package com.ruoyi.business.domain.bo;

import com.ruoyi.common.core.validate.AddGroup;
import com.ruoyi.common.core.validate.EditGroup;
import lombok.Data;
import lombok.EqualsAndHashCode;
import javax.validation.constraints.*;

import java.util.Date;

import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 床位业务对象 beds
 *
 * @author ruoyi
 * @date 2023-06-25
 */

@Data
@EqualsAndHashCode(callSuper = true)
public class BedsBo extends BaseEntity {

    /**
     * 
     */
    @NotNull(message = "不能为空", groups = { EditGroup.class })
    private Long id;

    /**
     * 宿舍id
     */
    @NotNull(message = "宿舍id不能为空", groups = { EditGroup.class })
    private Long dormitoryId;

    /**
     * 床位号
     */
    @NotBlank(message = "床位号不能为空", groups = { AddGroup.class, EditGroup.class })
    private String bedcode;

    /**
     * 员工id
     */
    private Long employeeId;

    /**
     * 是否被占
     */
    private String status;


}
